class ClassObject{
  private var name = "zhangs"

  val num :Int = 10

  def printInfo={

    println("hello world" +     ClassObject.num)
  }
}

object ClassObject {
  private val num = 0

  def main(args: Array[String]): Unit = {
    val classObject = new ClassObject
    classObject.printInfo

  }
}
